<%@ page import="com.sitec.simat.Componentes" %>



<div class="fieldcontain ${hasErrors(bean: componentesInstance, field: 'componente', 'error')} ">
	<label for="componente">
		<g:message code="componentes.componente.label" default="Componente" />
		
	</label>
	<g:textField name="componente" value="${componentesInstance?.componente}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: componentesInstance, field: 'detallecomponente', 'error')} required">
	<label for="detallecomponente">
		<g:message code="componentes.detallecomponente.label" default="Detallecomponente" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="detallecomponente" name="detallecomponente.id" from="${com.sitec.simat.Constantes.list()}" optionKey="id" required="" value="${componentesInstance?.detallecomponente?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: componentesInstance, field: 'marca', 'error')} required">
	<label for="marca">
		<g:message code="componentes.marca.label" default="Marca" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="marca" name="marca.id" from="${com.sitec.simat.Constantes.list()}" optionKey="id" required="" value="${componentesInstance?.marca?.id}" class="many-to-one"/>
</div>

